package top.yekongle.shop.dao;

import top.yekongle.shop.entity.SysUser;

import java.util.Map;

/**
 * @author Hank Lau
 * @date 2022/5/4
 */
public interface RedisRepository {
	SysUser find(Integer id);
	Map<Integer, SysUser> findAll();
	void save(SysUser user);
	void update(SysUser user);
	void delete(Integer id);
}
